import React from 'react'
import {NavLink, withRouter} from 'react-router-dom'
import './head.css'
const Head = () => {
    return (
        <div style={{width:'100%'}}>
            <div className='head-top'>i占后台管理系统</div>
            <div className='head-right'>
                <NavLink to='/home'>
                    <div className='head-list'>
                        主界面
                    </div>
                </NavLink>
                <NavLink to='/manager'>
                    <div className='head-list'>
                        管理员管理
                    </div>
                </NavLink>
                <NavLink to='/student'>
                    <div className='head-list'>
                        学生管理
                    </div>
                </NavLink>
                <NavLink to='/classroom'>
                    <div className='head-list'>
                        教室管理
                    </div>
                </NavLink>
                <NavLink to='/home'>
                    <div className='head-list'>
                        审批管理
                    </div>
                </NavLink>
                <NavLink to='/check'>
                <div className='head-li'>
                        未审批
                </div>
                </NavLink>
                <NavLink to='/checked'>
                <div className='head-li'>
                        已审批
                </div>
                </NavLink>
                <NavLink to='/activity'>
                    <div className='head-list'>
                        活动通知
                    </div>
                </NavLink>
                <NavLink to='/fix'>
                    <div className='head-list'>
                        故障报修
                    </div>
                </NavLink>
                <NavLink to='/fix'>
                <div className='head-li'>
                        未修好
                </div>
                </NavLink>
                <NavLink to='/fixed'>
                <div className='head-li'>
                        已修好
                </div>
                </NavLink>
              
            </div>
            <div>
                <NavLink to='/home'>
                    <div style={{color:'black'}}>
                        ←回到主界面
                    </div>
                </NavLink>
            </div>

            
            
        </div>
    )
}

export default Head